﻿package mortal.common.swfPlayer.data
{

    public class ActionType extends Object
    {
        private static var _acitonMap:Object = {1:"攻击", 2:"站立", 3:"走动", 4:"受伤", 5:"死亡", 6:"休息", 7:"坐骑站立", 8:"坐骑走动"};
        public static const Attack:int = 1;
        public static const Stand:int = 2;
        public static const Walking:int = 3;
        public static const Injury:int = 4;
        public static const Death:int = 5;
        public static const Rest:int = 6;
        public static const MountStand:int = 7;
        public static const MountWalk:int = 8;
        public static const Stall:int = 9;
        public static const StandMountStand:int = 10;
        public static const StandMountWalk:int = 11;
        public static const RestMountStand:int = 12;
        public static const RestMountWalk:int = 13;
        public static const flyStand:int = 14;
        public static const flyWalk:int = 15;
        public static const flyMountStand:int = 16;
        public static const flyMountWalk:int = 17;
        public static const SunBath:int = 18;
        public static const DefaultAction:int = 2;

        public function ActionType()
        {
            return;
        }// end function

        public static function getAction(param1:int) : String
        {
            return _acitonMap[param1];
        }// end function

    }
}
